package com.example.demo.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo.common.entity.Micro;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface MicroMapper extends BaseMapper<Micro> {
    @Select("select * from micro_table where sampid = #{sampid}")
    Micro findBySampId(@Param( "sampid") Long sampid);
}
